package com.wh.wisdomsite.xbox.me.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 起重器械项目设备运行记录表
 * @package com.wh.wisdomsite.xbox.me.entity
 * @author 蔡道行
 * @version V1.0
 * @date 15:34 2018/8/2
 * @Copyright 公司版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2014
 */
@TableName("me_craneRecord")
public class CraneRecord extends Model<CraneRecord> {

    /**
     * PK, 起重器械项目运行ID
     */
    @TableId(type = IdType.UUID)
    private String crId;

    /**
     *FK, 起重器械项目设备ID
     */
    @TableField("cpId")
    private String cpId;

    /**
     *采集时间
     */
    @TableField("collectTime")
    private Date collectTime;

    /**
     *力矩(Kn.m)
     */
    @TableField("torque")
    private BigDecimal torque;

    /**
     *载重(t)
     */
    @TableField("load")
    private BigDecimal load;

    /**
     *风速(m/s)
     */
    @TableField("windSpeed")
    private BigDecimal windSpeed;

    /**
     *幅度(m)
     */
    @TableField("range")
    private BigDecimal range;

    /**
     *高度(m)
     */
    @TableField("height")
    private BigDecimal height;

    /**
     *回转(r/m)
     */
    @TableField("slewingSpeed")
    private BigDecimal slewingSpeed;

    /**
     *倍率
     */
    @TableField("rate")
    private Integer rate;

    /**
     *倾角(°)
     */
    @TableField("dipAngle")
    private BigDecimal dipAngle;

    /**
     *当前载重允许最大幅度
     */
    @TableField("capacityMaxRange")
    private BigDecimal capacityMaxRange;

    /**
     *当前幅度允许最大载重
     */
    @TableField("rangeMaxCapacity")
    private BigDecimal rangeMaxCapacity;

    /**
     *创建者
     */
    @TableField("createBy")
    private String createBy;

    /**
     *创建时间
     */
    @TableField("createDate")
    private Date createDate;

    public String getCrId() {
        return crId;
    }

    public void setCrId(String crId) {
        this.crId = crId;
    }

    public String getCpId() {
        return cpId;
    }

    public void setCpId(String cpId) {
        this.cpId = cpId;
    }

    public Date getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Date collectTime) {
        this.collectTime = collectTime;
    }

    public BigDecimal getTorque() {
        return torque;
    }

    public void setTorque(BigDecimal torque) {
        this.torque = torque;
    }

    public BigDecimal getLoad() {
        return load;
    }

    public void setLoad(BigDecimal load) {
        this.load = load;
    }

    public BigDecimal getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(BigDecimal windSpeed) {
        this.windSpeed = windSpeed;
    }

    public BigDecimal getRange() {
        return range;
    }

    public void setRange(BigDecimal range) {
        this.range = range;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public BigDecimal getSlewingSpeed() {
        return slewingSpeed;
    }

    public void setSlewingSpeed(BigDecimal slewingSpeed) {
        this.slewingSpeed = slewingSpeed;
    }

    public Integer getRate() {
        return rate;
    }

    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public BigDecimal getDipAngle() {
        return dipAngle;
    }

    public void setDipAngle(BigDecimal dipAngle) {
        this.dipAngle = dipAngle;
    }

    public BigDecimal getCapacityMaxRange() {
        return capacityMaxRange;
    }

    public void setCapacityMaxRange(BigDecimal capacityMaxRange) {
        this.capacityMaxRange = capacityMaxRange;
    }

    public BigDecimal getRangeMaxCapacity() {
        return rangeMaxCapacity;
    }

    public void setRangeMaxCapacity(BigDecimal rangeMaxCapacity) {
        this.rangeMaxCapacity = rangeMaxCapacity;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
